package com.ohos.ringdroid.core;

import com.ohos.ringdroid.core.slice.RingdroidEditActivity;
import ohos.aafwk.ability.Ability;
import ohos.aafwk.content.Intent;
import ohos.global.configuration.Configuration;

public class EditAbility extends Ability {
    private static final int PERMISSION_REQUEST_CODE = 1;
    private static final String TAG = EditAbility.class.getSimpleName();

    @Override
    public void onStart(Intent intent) {
        super.onStart(intent);
        super.setMainRoute(RingdroidEditActivity.class.getName());
    }

    @Override
    public void onConfigurationUpdated(Configuration configuration) {
        new RingdroidEditActivity().onConfigurationUpdated(configuration);
        super.onConfigurationUpdated(configuration);
    }
}
